package org.csu.jpetstore_manage_system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
@TableName("supplier")
public class Supplier {
    @TableId
    private int suppid;

    private String name;

    private String status;

    private String addr1;

    private String addr2;

    private String city;

    private String state;
    @Length(max =  5)
    private String zip;
}
